<?php

namespace app\model;

use think\Model;

/**
 * t_member_integral_log 用户积分变动记录
 * @property integer $id id(主键)
 * @property integer $type 方式 1:购物赠送 2:退款收回,3:签到
 * @property integer $member_id 用户id
 * @property integer $integral 变动积分
 * @property integer $before 变前积分
 * @property integer $order_id 关联的订单id
 * @property string $order_no 订单号
 * @property string $remark 变动事由
 * @property string $created_at 创建时间
 * @property string $updated_at 更新时间
 */
class MemberIntegralLog extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';
    
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 't_member_integral_log';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $pk = 'id';

    
}
